
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>企业版中控接口 · EasyClick开发文档</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-anchor-navigation-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="zk-ec-state.html" />
    
    
    <link rel="prev" href="../hot-update.html" />
    

    
        <link rel="shortcut icon" href="/zh-cn/images/ico.png" type="image/x-icon">
    
    
    
    
        <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/zh-cn/images/ico.png">
    
    
        
    
    
        
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../../">
            
                <a href="../../">
            
                    
                    简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../features.html">
            
                <a href="../features.html">
            
                    
                    特性
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../changelog.html">
            
                <a href="../changelog.html">
            
                    
                    更改记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../getting-start.html">
            
                <a href="../getting-start.html">
            
                    
                    开始
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" >
            
                <a target="_blank" href="https://www.bilibili.com/video/bv1W54y1Q7JG">
            
                    
                    视频教程
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../funcs/devtools/dev-tools.html">
            
                <a href="../funcs/devtools/dev-tools.html">
            
                    
                    开发工具介绍
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../funcs/devtools/dev-tools-install.html">
            
                <a href="../funcs/devtools/dev-tools-install.html">
            
                    
                    安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../funcs/devtools/dev-tools-project.html">
            
                <a href="../funcs/devtools/dev-tools-project.html">
            
                    
                    工程相关
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../funcs/devtools/dev-tools-device.html">
            
                <a href="../funcs/devtools/dev-tools-device.html">
            
                    
                    设备相关
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../funcs/devtools/dev-tools-screen.html">
            
                <a href="../funcs/devtools/dev-tools-screen.html">
            
                    
                    屏幕相关
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../funcs/devtools/dev-tools-settings.html">
            
                <a href="../funcs/devtools/dev-tools-settings.html">
            
                    
                    设置
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="../funcs.html">
            
                <a href="../funcs.html">
            
                    
                    功能函数
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="../funcs/global/global.html">
            
                <a href="../funcs/global/global.html">
            
                    
                    全局模块
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="../funcs/global/global-shortcut.html">
            
                <a href="../funcs/global/global-shortcut.html">
            
                    
                    全局快捷事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="../funcs/global/selector-node.html">
            
                <a href="../funcs/global/selector-node.html">
            
                    
                    选择器&节点
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="../funcs/acevent-api.html">
            
                <a href="../funcs/acevent-api.html">
            
                    
                    无障碍事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="../funcs/event-api.html">
            
                <a href="../funcs/event-api.html">
            
                    
                    代理事件
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="../funcs/image-api.html">
            
                <a href="../funcs/image-api.html">
            
                    
                    图色函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="../funcs/device-api.html">
            
                <a href="../funcs/device-api.html">
            
                    
                    设备函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.8" data-path="../funcs/file-api.html">
            
                <a href="../funcs/file-api.html">
            
                    
                    文件函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.9" data-path="../funcs/http-api.html">
            
                <a href="../funcs/http-api.html">
            
                    
                    网络函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.10" data-path="../funcs/thread-api.html">
            
                <a href="../funcs/thread-api.html">
            
                    
                    线程函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.11" data-path="../funcs/utils-api.html">
            
                <a href="../funcs/utils-api.html">
            
                    
                    常用工具函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.12" data-path="../funcs/shell-api.html">
            
                <a href="../funcs/shell-api.html">
            
                    
                    Shell命令函数
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.13" data-path="../funcs/sqlite-api.html">
            
                <a href="../funcs/sqlite-api.html">
            
                    
                    Sqlite命令函数
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../funcs/ui-custom.html">
            
                <a href="../funcs/ui-custom.html">
            
                    
                    原生UI定制
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../funcs/ui-js-inter.html">
            
                <a href="../funcs/ui-js-inter.html">
            
                    
                    JS编写UI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../funcs/ui-js-template.html">
            
                <a href="../funcs/ui-js-template.html">
            
                    
                    模板式UI
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../funcs/ui-native-view.html">
            
                <a href="../funcs/ui-native-view.html">
            
                    
                    原生UI控件
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.3.1" data-path="../funcs/ui/linearlayout.html">
            
                <a href="../funcs/ui/linearlayout.html">
            
                    
                    LinearLayout线性布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.2" data-path="../funcs/ui/framelayout.html">
            
                <a href="../funcs/ui/framelayout.html">
            
                    
                    FrameLayout帧布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.3" data-path="../funcs/ui/relativelayout.html">
            
                <a href="../funcs/ui/relativelayout.html">
            
                    
                    RelativeLayout绝对布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.4" data-path="../funcs/ui/scrollview.html">
            
                <a href="../funcs/ui/scrollview.html">
            
                    
                    ScrollView滚动框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.5" data-path="../funcs/ui/view.html">
            
                <a href="../funcs/ui/view.html">
            
                    
                    View视图
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.6" data-path="../funcs/ui/button.html">
            
                <a href="../funcs/ui/button.html">
            
                    
                    Button按钮
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.7" data-path="../funcs/ui/textview.html">
            
                <a href="../funcs/ui/textview.html">
            
                    
                    TextView文本
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.8" data-path="../funcs/ui/edittext.html">
            
                <a href="../funcs/ui/edittext.html">
            
                    
                    EditText输入框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.9" data-path="../funcs/ui/checkbox.html">
            
                <a href="../funcs/ui/checkbox.html">
            
                    
                    CheckBox复选框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.10" data-path="../funcs/ui/radiogroup.html">
            
                <a href="../funcs/ui/radiogroup.html">
            
                    
                    RadioGroup布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.11" data-path="../funcs/ui/radiobutton.html">
            
                <a href="../funcs/ui/radiobutton.html">
            
                    
                    RadioButton单选框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.12" data-path="../funcs/ui/spinner.html">
            
                <a href="../funcs/ui/spinner.html">
            
                    
                    Spinner下拉选择框
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.13" data-path="../funcs/ui/webview.html">
            
                <a href="../funcs/ui/webview.html">
            
                    
                    WebView内嵌浏览器
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.14" data-path="../funcs/ui/imageview.html">
            
                <a href="../funcs/ui/imageview.html">
            
                    
                    ImageView图像
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.15" data-path="../funcs/ui/cardview.html">
            
                <a href="../funcs/ui/cardview.html">
            
                    
                    CardView卡片布局
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3.16" data-path="../funcs/ui/switch.html">
            
                <a href="../funcs/ui/switch.html">
            
                    
                    Swtich开关按钮
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../funcs/html-ui-custom.html">
            
                <a href="../funcs/html-ui-custom.html">
            
                    
                    H5 UI定制
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../hot-update.html">
            
                <a href="../hot-update.html">
            
                    
                    热更新功能
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.11" data-path="zk.html">
            
                <a href="zk.html">
            
                    
                    企业版中控接口
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="zk-ec-state.html">
            
                <a href="zk-ec-state.html">
            
                    
                    EC状态控制接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="zk-node.html">
            
                <a href="zk-node.html">
            
                    
                    全局节点模块接口
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.2.1" data-path="global/zk-global-log.html">
            
                <a href="global/zk-global-log.html">
            
                    
                    日志接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.2" data-path="global/zk-node-service.html">
            
                <a href="global/zk-node-service.html">
            
                    
                    节点服务接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.3" data-path="global/zk-global-click.html">
            
                <a href="global/zk-global-click.html">
            
                    
                    点击动作接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.4" data-path="global/zk-global-multitouch.html">
            
                <a href="global/zk-global-multitouch.html">
            
                    
                    多点触摸动作接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.5" data-path="global/zk-global-swipe.html">
            
                <a href="global/zk-global-swipe.html">
            
                    
                    滑动动作接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.6" data-path="global/zk-global-drag.html">
            
                <a href="global/zk-global-drag.html">
            
                    
                    拖动动作接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.7" data-path="global/zk-global-input.html">
            
                <a href="global/zk-global-input.html">
            
                    
                    输入动作接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.8" data-path="global/zk-global-node.html">
            
                <a href="global/zk-global-node.html">
            
                    
                    节点操作接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.9" data-path="global/zk-global-systemkey.html">
            
                <a href="global/zk-global-systemkey.html">
            
                    
                    系统按键接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.10" data-path="global/zk-global-notice.html">
            
                <a href="global/zk-global-notice.html">
            
                    
                    通知栏接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2.11" data-path="global/zk-global-floatview.html">
            
                <a href="global/zk-global-floatview.html">
            
                    
                    悬浮窗接口
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="zk-agent.html">
            
                <a href="zk-agent.html">
            
                    
                    代理事件模块接口 - 开发中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.4" data-path="zk-image.html">
            
                <a href="zk-image.html">
            
                    
                    图色模块接口 - 开发中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.5" data-path="zk-device.md">
            
                <span>
            
                    
                    设备模块接口 - 开发中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.6" data-path="zk-file.md">
            
                <span>
            
                    
                    文件模块接口 - 开发中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.7" data-path="zk-http.md">
            
                <span>
            
                    
                    网络模块接口 - 开发中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.8" data-path="zk-utils.md">
            
                <span>
            
                    
                    常用工具模块接口 - 开发中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.9" data-path="zk-shell.md">
            
                <span>
            
                    
                    Shell命令模块接口 - 开发中
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.10" data-path="zk-sqlite.md">
            
                <span>
            
                    
                    Sqlite模块接口 - 开发中
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../funcs/plugin/plugins.html">
            
                <a href="../funcs/plugin/plugins.html">
            
                    
                    插件开发
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../question-answer.html">
            
                <a href="../question-answer.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../agreement.html">
            
                <a href="../agreement.html">
            
                    
                    用户协议
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../declare.html">
            
                <a href="../declare.html">
            
                    
                    免责声明
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16" >
            
                <span>
            
                    
                    技术交流 QQ群：777164022
            
                </span>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="../.." >企业版中控接口</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <div id="anchor-navigation-ex-navbar"><i class="fa fa-navicon"></i><ul><li><span class="title-icon "></span><a href="#&#x4EC0;&#x4E48;&#x662F;&#x4E2D;&#x63A7;"><b>1. </b>&#x4EC0;&#x4E48;&#x662F;&#x4E2D;&#x63A7;</a></li><li><span class="title-icon "></span><a href="#&#x4E2D;&#x63A7;&#x5BF9;&#x63A5;"><b>2. </b>&#x4E2D;&#x63A7;&#x5BF9;&#x63A5;</a></li><li><span class="title-icon "></span><a href="#ec&#x5728;&#x624B;&#x673A;&#x7AEF;&#x8FDC;&#x7A0B;&#x5730;&#x5740;&#x662F;&#x4EC0;&#x4E48;"><b>3. </b>EC&#x5728;&#x624B;&#x673A;&#x7AEF;&#x8FDC;&#x7A0B;&#x5730;&#x5740;&#x662F;&#x4EC0;&#x4E48;</a></li><li><span class="title-icon "></span><a href="#usb&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x6A21;&#x5F0F;"><b>4. </b>USB&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x6A21;&#x5F0F;</a></li><li><span class="title-icon "></span><a href="#wifi&#x8FDE;&#x63A5;&#x6A21;&#x5F0F;"><b>5. </b>WIFI&#x8FDE;&#x63A5;&#x6A21;&#x5F0F;</a></li><li><span class="title-icon "></span><a href="#&#x6309;&#x952E;&#x7CBE;&#x7075;&#x8C03;&#x7528;"><b>6. </b>&#x6309;&#x952E;&#x7CBE;&#x7075;&#x8C03;&#x7528;</a></li><li><span class="title-icon "></span><a href="#&#x63A5;&#x53E3;&#x8FD4;&#x56DE;"><b>7. </b>&#x63A5;&#x53E3;&#x8FD4;&#x56DE;</a></li><li><span class="title-icon "></span><a href="#&#x4E2D;&#x63A7;&#x63A5;&#x53E3;"><b>8. </b>&#x4E2D;&#x63A7;&#x63A5;&#x53E3;</a></li></ul></div><a href="#&#x4EC0;&#x4E48;&#x662F;&#x4E2D;&#x63A7;" id="anchorNavigationExGoTop"><i class="fa fa-arrow-up"></i></a><h1 id="&#x4EC0;&#x4E48;&#x662F;&#x4E2D;&#x63A7;"><a name="&#x4EC0;&#x4E48;&#x662F;&#x4E2D;&#x63A7;" class="anchor-navigation-ex-anchor" href="#&#x4EC0;&#x4E48;&#x662F;&#x4E2D;&#x63A7;"><i class="fa fa-link" aria-hidden="true"></i></a>1. &#x4EC0;&#x4E48;&#x662F;&#x4E2D;&#x63A7;</h1>
<ul>
<li>&#x4E2D;&#x63A7;&#x5E73;&#x53F0;&#x662F;&#x4E00;&#x4E2A;&#x7EDF;&#x4E00;&#x7BA1;&#x7406;&#x548C;&#x63A7;&#x5236;&#x8BBE;&#x5907;&#x7684;&#x5E73;&#x53F0;</li>
</ul>
<h1 id="&#x4E2D;&#x63A7;&#x5BF9;&#x63A5;"><a name="&#x4E2D;&#x63A7;&#x5BF9;&#x63A5;" class="anchor-navigation-ex-anchor" href="#&#x4E2D;&#x63A7;&#x5BF9;&#x63A5;"><i class="fa fa-link" aria-hidden="true"></i></a>2. &#x4E2D;&#x63A7;&#x5BF9;&#x63A5;</h1>
<ul>
<li><p>&#x5DF2;&#x6709;&#x7684;&#x4E2D;&#x63A7;&#x5E73;&#x53F0;&#x5982;&#x4F55;&#x5BF9;&#x63A5;&#x5230;EC&#x7A0B;&#x5E8F;&#x4E2D;?</p>
</li>
<li><p>EC&#x5F00;&#x653E;&#x7684;&#x63A5;&#x53E3;&#x5747;&#x4F7F;&#x7528;HTTP POST&#x65B9;&#x5F0F;&#x5373;&#x53EF;&#x8BF7;&#x6C42;&#x5230;&#xFF0C;&#x53C2;&#x6570;&#x4E00;&#x5F8B;&#x4F7F;&#x7528;JSON&#xFF0C;&#x5982;&#x679C;&#x4F60;&#x4E0D;&#x592A;&#x7406;&#x89E3;POST JSON&#xFF0C;&#x8BF7;&#x770B;&#x8FD9;&#x4E2A;&#x6587;&#x7AE0;&#xFF1A;
<a href="https://www.cnblogs.com/bookyao/p/12134438.html" target="_blank">https://www.cnblogs.com/bookyao/p/12134438.html</a>
&#x4EE5;&#x53CA;java&#x5982;&#x4F55;&#x8FDB;&#x884C;POST JSON: 
<a href="https://blog.csdn.net/qq_26975307/article/details/82713725" target="_blank">https://blog.csdn.net/qq_26975307/article/details/82713725</a></p>
</li>
</ul>
<h1 id="ec&#x5728;&#x624B;&#x673A;&#x7AEF;&#x8FDC;&#x7A0B;&#x5730;&#x5740;&#x662F;&#x4EC0;&#x4E48;"><a name="ec&#x5728;&#x624B;&#x673A;&#x7AEF;&#x8FDC;&#x7A0B;&#x5730;&#x5740;&#x662F;&#x4EC0;&#x4E48;" class="anchor-navigation-ex-anchor" href="#ec&#x5728;&#x624B;&#x673A;&#x7AEF;&#x8FDC;&#x7A0B;&#x5730;&#x5740;&#x662F;&#x4EC0;&#x4E48;"><i class="fa fa-link" aria-hidden="true"></i></a>3. EC&#x5728;&#x624B;&#x673A;&#x7AEF;&#x8FDC;&#x7A0B;&#x5730;&#x5740;&#x662F;&#x4EC0;&#x4E48;</h1>
<ul>
<li>EC&#x5728;&#x624B;&#x673A;&#x7AEF;&#x7684;&#x7AEF;&#x53E3;&#x662F; 20390</li>
</ul>
<h1 id="usb&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x6A21;&#x5F0F;"><a name="usb&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x6A21;&#x5F0F;" class="anchor-navigation-ex-anchor" href="#usb&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x6A21;&#x5F0F;"><i class="fa fa-link" aria-hidden="true"></i></a>4. USB&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x6A21;&#x5F0F;</h1>
<ul>
<li><p>&#x5982;&#x679C;&#x662F;USB&#x76F4;&#x63A5;&#x8FDE;&#x63A5;&#x8BBE;&#x5907;&#x7684;&#xFF0C;&#x8BF7;&#x4F7F;&#x7528;adb forward&#x547D;&#x4EE4;&#x5C06;EC&#x7AEF;&#x53E3;&#x8F6C;&#x53D1;&#x5230;&#x7535;&#x8111;&#x7AEF;&#x53E3;&#xFF0C;&#x6559;&#x7A0B;&#xFF1A;<a href="https://www.jianshu.com/p/63c4d5c31909" target="_blank">https://www.jianshu.com/p/63c4d5c31909</a></p>
</li>
<li><p>&#x4F8B;&#x5982;&#x5C06;&#x8BBE;&#x5907;&#x7684;20391&#x8F6C;&#x53D1;&#x5230;&#x7535;&#x8111;&#x7684;20391&#x7AEF;&#x53E3;&#x4E0A;&#xFF1A;</p>
</li>
</ul>
<blockquote>
<pre><code>adb -s &#x624B;&#x673A;&#x7684;&#x5E8F;&#x5217;&#x53F7;1 forward tcp:20391 tcp:20390
</code></pre></blockquote>
<ul>
<li><p>&#x8F6C;&#x53D1;&#x7AEF;&#x53E3;&#x5230;&#x7535;&#x8111;&#x540E;&#xFF0C;&#x53EF;&#x4EE5;&#x5728;&#x6D4F;&#x89C8;&#x5668;&#x4E2D;&#x6253;&#x5F00; <a href="http://127.0.0.1:20391" target="_blank">http://127.0.0.1:20391</a>    &#x5C31;&#x53EF;&#x4EE5;&#x770B;&#x5230;OK&#x51E0;&#x4E2A;&#x5B57;&#x6837;&#xFF0C;&#x4EE3;&#x8868;&#x6210;&#x529F;&#x8F6C;&#x53D1;</p>
</li>
<li><p>&#x5982;&#x679C;&#x6709;&#x591A;&#x53F0;&#x8BBE;&#x5907;&#xFF0C;&#x53EF;&#x4EE5;&#x5C06;&#x672C;&#x5730;&#x7AEF;&#x53E3;&#x4F9D;&#x6B21;&#x9012;&#x589E;</p>
</li>
</ul>
<blockquote>
<pre><code>adb -s &#x624B;&#x673A;&#x7684;&#x5E8F;&#x5217;&#x53F7;1 forward tcp:20391 tcp:20390
adb -s &#x624B;&#x673A;&#x7684;&#x5E8F;&#x5217;&#x53F7;2 forward tcp:20392 tcp:20390
adb -s &#x624B;&#x673A;&#x7684;&#x5E8F;&#x5217;&#x53F7;3 forward tcp:20393 tcp:20390
</code></pre></blockquote>
<ul>
<li>&#x5982;&#x4F55;&#x83B7;&#x53D6;&#x624B;&#x673A;&#x5E8F;&#x5217;&#x53F7;&#x6559;&#x7A0B; <a href="https://www.cnblogs.com/yjlch1016/p/8512592.html" target="_blank">https://www.cnblogs.com/yjlch1016/p/8512592.html</a></li>
</ul>
<h1 id="wifi&#x8FDE;&#x63A5;&#x6A21;&#x5F0F;"><a name="wifi&#x8FDE;&#x63A5;&#x6A21;&#x5F0F;" class="anchor-navigation-ex-anchor" href="#wifi&#x8FDE;&#x63A5;&#x6A21;&#x5F0F;"><i class="fa fa-link" aria-hidden="true"></i></a>5. WIFI&#x8FDE;&#x63A5;&#x6A21;&#x5F0F;</h1>
<ul>
<li>&#x5982;&#x679C;&#x4E2D;&#x63A7;&#x548C;&#x8BBE;&#x5907;&#x5728;&#x540C;&#x4E00;&#x5C40;&#x57DF;&#x7F51;&#xFF0C;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x627E;&#x5230;&#x624B;&#x673A;IP&#xFF0C;&#x76F4;&#x63A5;&#x8BF7;&#x6C42;&#x624B;&#x673A;&#x5230;20390&#x7AEF;&#x53E3;</li>
</ul>
<h1 id="&#x6309;&#x952E;&#x7CBE;&#x7075;&#x8C03;&#x7528;"><a name="&#x6309;&#x952E;&#x7CBE;&#x7075;&#x8C03;&#x7528;" class="anchor-navigation-ex-anchor" href="#&#x6309;&#x952E;&#x7CBE;&#x7075;&#x8C03;&#x7528;"><i class="fa fa-link" aria-hidden="true"></i></a>6. &#x6309;&#x952E;&#x7CBE;&#x7075;&#x8C03;&#x7528;</h1>
<ul>
<li>&#x5982;&#x679C;&#x4F60;&#x4F7F;&#x7528;&#x6309;&#x952E;&#x7CBE;&#x7075;&#x6216;&#x8005;&#x5176;&#x4ED6;&#x624B;&#x673A;&#x8F6F;&#x4EF6;&#x8C03;&#x7528;EC&#xFF0C;&#x53EF;&#x4EE5;&#x76F4;&#x63A5;&#x5728;&#x624B;&#x673A;&#x4E0A;&#x8BF7;&#x6C42; <a href="http://127.0.0.1:20390" target="_blank">http://127.0.0.1:20390</a></li>
<li>&#x5982;&#x679C;&#x662F;&#x6309;&#x952E;&#x7CBE;&#x7075;&#x8C03;&#x7528;EC&#xFF0C;&#x8BF7;&#x4F7F;&#x7528;&#x5F00;&#x53D1;&#x5DE5;&#x5177;&#x6253;&#x4F01;&#x4E1A;&#x7248;&#x672C;&#x7684;APK&#x5305;</li>
</ul>
<h1 id="&#x63A5;&#x53E3;&#x8FD4;&#x56DE;"><a name="&#x63A5;&#x53E3;&#x8FD4;&#x56DE;" class="anchor-navigation-ex-anchor" href="#&#x63A5;&#x53E3;&#x8FD4;&#x56DE;"><i class="fa fa-link" aria-hidden="true"></i></a>7. &#x63A5;&#x53E3;&#x8FD4;&#x56DE;</h1>
<p>&#x63A5;&#x53E3;&#x8FD4;&#x56DE;&#x793A;&#x4F8B;&#xFF1A;</p>
<blockquote>
<pre><code class="lang-javascript">{
    <span class="hljs-string">&quot;code&quot;</span>:<span class="hljs-number">1</span>,
    <span class="hljs-string">&quot;msg&quot;</span>:<span class="hljs-string">&quot;&quot;</span>,
    <span class="hljs-string">&quot;data&quot;</span>:<span class="hljs-literal">true</span>
}
</code></pre>
</blockquote>
<ul>
<li>code&#xFF1A; &#x4EE3;&#x8868;&#x670D;&#x52A1;&#x63A5;&#x53E3;&#x662F;&#x5426;&#x6B63;&#x5E38;&#xFF0C;1 &#x4EE3;&#x8868;&#x6B63;&#x5E38;&#x670D;&#x52A1;&#xFF0C;0 &#x4EE3;&#x8868;&#x5931;&#x8D25;&#xFF0C;&#x5982;&#x679C;&#x4E3A;0&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x8BF7;&#x67E5;&#x770B;msg&#x7684;&#x6D88;&#x606F;</li>
<li>msg&#xFF1A;&#x63A5;&#x53E3;&#x8FD4;&#x56DE;&#x7684;&#x9519;&#x8BEF;&#x6D88;&#x606F;</li>
<li>data&#xFF1A;&#x5B9E;&#x9645;&#x6267;&#x884C;&#x51FD;&#x6570;&#x7684;&#x8FD4;&#x56DE;&#x503C;&#xFF0C;&#x53EF;&#x80FD;&#x662F;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x5E03;&#x5C14;&#x578B;&#xFF0C;&#x62A4;&#x7740;&#x6570;&#x636E;JSON&#x6570;&#x636E;&#xFF0C;&#x8FD9;&#x4E2A;&#x8BF7;&#x6839;&#x636E;&#x5B9E;&#x9645;&#x63A5;&#x53E3;&#x8FD4;&#x56DE;&#x8FDB;&#x884C;&#x5904;&#x7406;</li>
</ul>
<h1 id="&#x4E2D;&#x63A7;&#x63A5;&#x53E3;"><a name="&#x4E2D;&#x63A7;&#x63A5;&#x53E3;" class="anchor-navigation-ex-anchor" href="#&#x4E2D;&#x63A7;&#x63A5;&#x53E3;"><i class="fa fa-link" aria-hidden="true"></i></a>8. &#x4E2D;&#x63A7;&#x63A5;&#x53E3;</h1>
<ul>
<li><a href="zk-ec-state.html">EC&#x72B6;&#x6001;&#x63A7;&#x5236;&#x63A5;&#x53E3;</a></li>
<li><a href="zk-node.html">&#x5168;&#x5C40;&#x8282;&#x70B9;&#x6A21;&#x5757;&#x63A5;&#x53E3;</a><ul>
<li><a href="global/zk-global-log.html">&#x65E5;&#x5FD7;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-node-service.html">&#x8282;&#x70B9;&#x670D;&#x52A1;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-click.html">&#x70B9;&#x51FB;&#x52A8;&#x4F5C;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-multitouch.html">&#x591A;&#x70B9;&#x89E6;&#x6478;&#x52A8;&#x4F5C;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-swipe.html">&#x6ED1;&#x52A8;&#x52A8;&#x4F5C;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-drag.html">&#x62D6;&#x52A8;&#x52A8;&#x4F5C;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-input.html">&#x8F93;&#x5165;&#x52A8;&#x4F5C;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-node.html">&#x8282;&#x70B9;&#x64CD;&#x4F5C;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-systemkey.html">&#x7CFB;&#x7EDF;&#x6309;&#x952E;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-notice.html">&#x901A;&#x77E5;&#x680F;&#x63A5;&#x53E3;</a></li>
<li><a href="global/zk-global-floatview.html">&#x60AC;&#x6D6E;&#x7A97;&#x63A5;&#x53E3;</a></li>
</ul>
</li>
<li><a href="zh-agent.md">&#x4EE3;&#x7406;&#x4E8B;&#x4EF6;&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
<li><a href="zh-image.md">&#x56FE;&#x8272;&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
<li><a href="zh-device.md">&#x8BBE;&#x5907;&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
<li><a href="zh-file.md">&#x6587;&#x4EF6;&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
<li><a href="zh-http.md">&#x7F51;&#x7EDC;&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
<li><a href="zh-utils.md">&#x5E38;&#x7528;&#x5DE5;&#x5177;&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
<li><a href="zh-shell.md">Shell&#x547D;&#x4EE4;&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
<li><a href="zk-sqlite.md">Sqlite&#x6A21;&#x5757;&#x63A5;&#x53E3; - &#x5F00;&#x53D1;&#x4E2D;</a></li>
</ul>

<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="../hot-update.html" class="navigation navigation-prev " aria-label="Previous page: 热更新功能">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="zk-ec-state.html" class="navigation navigation-next " aria-label="Next page: EC状态控制接口">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"企业版中控接口","level":"1.11","depth":1,"next":{"title":"EC状态控制接口","level":"1.11.1","depth":2,"path":"zh-cn/zk/zk-ec-state.md","ref":"zh-cn/zk/zk-ec-state.md","articles":[]},"previous":{"title":"热更新功能","level":"1.10","depth":1,"path":"zh-cn/hot-update.md","ref":"zh-cn/hot-update.md","articles":[]},"dir":"ltr"},"config":{"plugins":["chapter-fold","code","copy-code-button","-lunr","-search","search-pro","anchor-navigation-ex","hide-element","favicon-absolute","popup"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"chapter-fold":{},"search-pro":{},"popup":{},"code":{"copyButtons":true},"favicon-absolute":{"appleTouchIconMore":{},"appleTouchIconPrecomposed152":"/zh-cn/images/ico.png","appleTouchIconPrecomposedMore":{},"favicon":"/zh-cn/images/ico.png"},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"anchor-navigation-ex":{"associatedWithSummary":true,"float":{"floatIcon":"fa fa-navicon","level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"mode":"float","multipleH1":true,"pageTop":{"level1Icon":"","level2Icon":"","level3Icon":"","showLevelIcon":false},"printLog":false,"showGoTop":true,"showLevel":true},"copy-code-button":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"EasyClick开发文档","language":"zh-hans","gitbook":"*","description":"记录EasyClick开发教程和常用的函数"},"file":{"path":"zh-cn/zk/zk.md","mtime":"2020-04-30T03:18:20.860Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-06-23T14:38:08.296Z"},"basePath":"../..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../../gitbook/gitbook.js"></script>
    <script src="../../gitbook/theme.js"></script>
    
        
        <script src="../../gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-copy-code-button/toggle.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="../../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

